/*
 * @Description:
 * @Author: wangqi
 * @Date: 2024-08-29 09:27:46
 * @LastEditTime: 2024-08-29 09:59:22
 * @LastEditAuthor: wangqi
 */
import { Injectable } from '@nestjs/common';

type UserList = {
  id: string;
  name: string;
  age: string;
  sex: string;
};

@Injectable()
export class AppService {
  getUserList(): UserList[] {
    const result = [
      { id: '1', name: '张三', age: '12', sex: '1' },
      { id: '2', name: '王五', age: '9', sex: '0' },
    ];
    return result;
  }
}
